package com.jmb.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * 
 * @TableName t_http_setting
 */
@TableName(value ="t_http_setting")
@Data
public class HttpSetting extends BaseEntity{

    /**
     * 配置项名称
     */

    @Schema(description = "配置项名称")
    @NotEmpty(message = "配置项名称不能为空")
    @TableField(value = "name")
    private String name;

    /**
     * 
     */
    @Schema(description = "配置项值")
    @NotEmpty(message = "配置项值不能为空")
    @TableField(value = "value")
    private String value;

    /**
     * 配置项描述
     */
    @Schema(description = "配置项描述")
    @TableField(value = "description")
    private String description;

    /**
     * 状态 0启用1禁用
     */
    @Schema(description = "状态 0启用1禁用")
    @TableField(value = "status")
    private Integer status;

    /**
     * 类型 0代理1公共头2邮箱3ConnectTimeout4ReadTimeout
     */
    @Schema(description = "类型 0代理1公共头2邮箱3ConnectTimeout4ReadTimeout")
    @TableField(value = "type")
    private Integer type;

}